//
//  SaleOrder.h
//  XRmenu
//
//  Created by yangxh on 11-3-31.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class SaleOrderProduct;
@class TableBox;

@interface SaleOrder :  NSManagedObject  
{
}

@property (nonatomic, retain) NSNumber * sDishPrice;
@property (nonatomic, retain) NSNumber * sID;
@property (nonatomic, retain) NSNumber * sRank;
@property (nonatomic, retain) NSString * sSignature;
@property (nonatomic, retain) NSNumber * sStatus;
@property (nonatomic, retain) NSNumber * sTimeType;
@property (nonatomic, retain) NSNumber * sServiceCharge;
@property (nonatomic, retain) NSString * sProductOrderId;
@property (nonatomic, retain) NSString * sComment;
@property (nonatomic, retain) NSNumber * sTotalPrice;
@property (nonatomic, retain) NSString * sSpecNo;
@property (nonatomic, retain) NSDate * sCheckInTime;
@property (nonatomic, retain) NSString * sReview;
@property (nonatomic, retain) TableBox * rsToTableBox;
@property (nonatomic, retain) NSSet* rsToSaleOrderProduct;

@end


@interface SaleOrder (CoreDataGeneratedAccessors)
- (void)addRsToSaleOrderProductObject:(SaleOrderProduct *)value;
- (void)removeRsToSaleOrderProductObject:(SaleOrderProduct *)value;
- (void)addRsToSaleOrderProduct:(NSSet *)value;
- (void)removeRsToSaleOrderProduct:(NSSet *)value;

@end

